package org.ncibi.cytoscape.metscape.network;

import org.ncibi.metab.network.edge.MetabolicEdge;

public class GeneralEdgeTranslator extends AbstractEdgeTranslator
{
	@Override
    protected String getInteraction(MetabolicEdge edge)
    {
        return edge.getSource().getType().toDisplayName() + "-" 
        	+ edge.getTarget().getType().toDisplayName();
    }
    
    @Override
    protected void addEdgeAttributes(String id, MetabolicEdge edge)
    {
        // Nothing to do.
    }

}
